package com.mybatis.test;

import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:Spring-Mybatis.xml"})
public class JUnitBaseService extends AbstractTransactionalJUnit4SpringContextTests{
	@Before
	public void init(){
		System.out.println("初始化");
	}

	@After
	public void after(){
		System.out.println("执行结束");
	}
}
